home *** CD-ROM | disk | FTP | other *** search
- Date: 31 Dec 87 02:03:25 GMT
- Subject: Semaphores: a tutorial & examples (LONG!)
- From: rico@oscvax.UUCP (Rico Mariani)
-
- This article contains basically everything I've been able to find out
- about the two kinds of semaphores on the Amiga. The example programs
- are written such that you can run several copies of them and they won't
- mix each others output up (that's what the semaphores are used for).
- The last copy of the programs to exit cleans up all the semaphore goo
- that was needed to make it all work. There are two programs provided,
- one that uses straight semaphores and one that uses signal semaphores.
- These programs (especially the 2nd) are based on the examples/info
- provided by CATS. Thanks CATS!
-
- (As far as I know there aren't any bugs in these but I've been wrong
- before...)
-